#ifndef IMAGESETTINGITEM_H
#define IMAGESETTINGITEM_H

#include <QWidget>

namespace Ui {
class ImageSettingItem;
}

class ImageSettingItem : public QWidget
{
    Q_OBJECT

public:
    explicit ImageSettingItem(QWidget *parent = nullptr);
    ~ImageSettingItem();

    void setItemId(int id);
    void setItemTitle(QString info);
    void setItemValue(QString info);

private slots:
    void on_add_clicked();

    void on_sub_clicked();

private:
    Ui::ImageSettingItem *ui;
    int g_id = 0;

signals:
    void syncValueSignal(int id, int type);
};

#endif // IMAGESETTINGITEM_H
